package cn.iocoder.yudao.module.picturebook.controller.admin.classmember.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 班级成员关联数据 Response VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassMemberDataRespVO {
    @Schema(description = "班级成员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4679")
    private Long id;
    @Schema(description = "关联班级", requiredMode = Schema.RequiredMode.REQUIRED, example = "27905")
    private Long classId;
    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "14857")
    private Long userId;
    @Schema(description = "成员名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String memberName;
    @Schema(description = "角色：1-学生，2-老师", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer role;
    //是否打卡
    @Schema(description = "是否打卡")
    private Boolean checkin;
    //阅读天数
    @Schema(description = "阅读天数")
    private Integer readDays;
    //总阅读数量
    @Schema(description = "总阅读数量")
    private Integer readCount;
    @Schema(description = "加入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime joinTime;
}
